package com.it.base.core.system.dict.model.from;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class SysDictDataSelectPageListFormDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(name = "label", value = "字典标签", dataType = "String")
	private String label;

	@ApiModelProperty(name = "type", value = "类型", dataType = "String")
	@NotNull(message = "类型必填")
	@NotBlank(message = "类型必填")
	private String type;

	@ApiModelProperty(name = "status", value = "状态(-1停用 0正常)", dataType = "Integer")
	private Integer status;

	@ApiModelProperty(name = "pageNo", value = "页码起始页", dataType = "int")
	@Min(message = "页码起始页最小为0", value = 0)
	private int pageNo;

	@ApiModelProperty(name = "pageNo", value = "页码大小", dataType = "int")
	@Min(message = "页码大小最小为0", value = 0)
	private int pageSize;

}
